package cqie.personal.frame.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Yeeeeee
 * @since 2021-09-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="DepartmentInfo对象", description="")
public class DepartmentInfo implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "部门名称")
    private String departmentName;

    @ApiModelProperty(value = "部门代码")
    private String departmentCode;

    @ApiModelProperty(value = "节点层级")
    private Integer departmentLevel;

    @ApiModelProperty(value = "部门图标")
    private String departmentImg;

    @ApiModelProperty(value = "父节点id")
    private Integer departmentFather;

    @ApiModelProperty(value = "父节点名称")
    private String departmentFatherName;

    @ApiModelProperty(value = "部门是否停用")
    private Integer departmentAbandon;

    private Date lastUpgradeTime;

    private Integer lastUpgradePerson;

    private Date createTime;

    private Integer createPerson;


}
